<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
</head>
<body>
<script>


    var url = location.href //https://www.xxxx.html?param=aaa&signId=11211
    params = url.split("?")[1].split("&")
    var dic_param = {}
    for (let index = 0; index < params.length; index++) {
        var kv = params[index].split("=")
        dic_param[kv[0]] = kv[1]
    }

    //dic_param.signId
    //dic_param.param
    //获取到url中的signId，调用自己的业务端后台，完成后再调用  window.wx.miniProgram.navigateBack()
    //如果使用ajax调用自己的业务端，注意需要在ajax的回调函数中调用    window.wx.miniProgram.navigateBack()


    //小程序后退
    window.wx.miniProgram.navigateBack()
    // wx.switchTab(Object object) 跳转到 tabBar 页面
    // wx.redirectTo(Object object) 关闭当前页面，跳转到应用内的某个页面
</script>
</body>
</html>